#ifndef CREATEVIEW_H
#define CREATEVIEW_H

#include <QFrame>

namespace Ui {
    class CreateView;
}

class CreateView : public QFrame {
    Q_OBJECT

public:
    CreateView(QWidget *parent = 0);
    ~CreateView();
    void clearFields();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::CreateView *ui;

private slots:
    void confirm();

signals:
    void create(QString name, QString type, QString description,
                QString registration, QString password);

};

#endif // CREATEVIEW_H
